<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%--
  Created by IntelliJ IDEA.
  author: Jsonor
  date: 2018/4/26 15:09
  description: Description
--%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>栏目管理</title>

  <!-- Bootstrap -->
  <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">

  <style>
    body{
      background: rgba(0, 0, 0, 0.7);
      background-attachment: fixed;
    }
    .container .row .illu{
      background: rgba(0, 0, 0, 0.7);
      height:250px;
      border-radius: 25px;
      color:#0391BC;
    }
    .container .row dl{
      margin-top: 10px
    }
    .container .row dl dt{
      font-family: "微软雅黑";
      font-size: 30px;
    }
    .container .row dl dd{
      font-family: "宋体";
      font-size: 15px;
      line-height: 28px;
      font-weight: bold;
    }
    .container .row dl ul {
      list-style: none;
    }
    @media (min-width:768px) {
      .col-sm-6 {
        margin-left: 20px;
        margin-bottom: 30px;
        width: 45%;
      }
    }
    @media (min-width: 992px) {
      .col-md-4 {
        margin-left: 20px;
        margin-bottom: 30px;
        float: left;
        width: 30%;
      }
    }
    @media (min-width: 1200px) {
      .col-lg-3 {
        margin-left: 20px;
        margin-bottom: 30px;
        width:23%;
      }
      .container .row .col-lg-3 dl dd{
        line-height: 20px;
      }
    }

    /*main样式结束*/

    /*栏目管理样式开始 column*/
    .pos{
      height: 35px;
      font-size: 14px;
      border-bottom:1px solid;
      color: #EFEFF5;
      font-weight: bold;
    }
    .icoh{
      margin-top: 5px;
      display:inline-block;
      width:20px;
      height: 20px;
      line-height: 23px;
    }
    .operate{
      color: #10DDE8;
    }
    .operate .list .tablewrap table .table{
      border:none;

    }

    /*栏目管理样式结束column*/

    /*introduce 公司介绍开始*/

    .line{
      margin:0 10px;
    }
    /*introduce 公司介绍结束*/
    .intro .col-sm-2{
      color:#fff;
      line-height: 210px;
      font-size: 35px;
    }
    .intro .fill{
      height:50px;
    }

    /*网站设置*/
    .iframecontent{
      color: #10DDE8;
    }
    li{
      list-style: none
    }
    input,textarea{
      color:#000;
    }

    .itab ul li {
      float: left;
      margin-right: 5px;
      border: 1px solid #DCE3ED;
      background: #EAEEF4;

    }
    .itab ul li.current-item {
      border-top: 1px solid #DCE3ED;
      border-left: 1px solid #DCE3ED;
      border-right: 1px solid #DCE3ED;
      border-bottom: 1px solid #fff;
      background: #fff;
    }
    .itab ul li a {
      display: block;
      font-size: 14px;
      color: #10DDE8;
      padding: 2px 10px;
    }
    .itab ul li.current-item a {
      font-weight: bold;
    }
    .itabcontent dl {
      margin: 20px 0;
    }
    .itabcontent dl dt {
      width: 12%;
      float: left;
      font-size: 14px;
    }
    .itabcontent dl dt.surebtn {
      text-indent: -9999px;
    }
    .itabcontent dl dd {
      width: 600px;
      float: left;
    }
    .itabcontent dl dd input[type="text"] {
      width: 300px;
    }
    .itabcontent dl dd input[type="radio"] {
      vertical-align: top;
    }
  </style>
</head>
<body>
<div class="iframecontent">

  <div class="pos">
    <i class="icoh"></i>
    <span>二级分类管理</span>
  </div>

  <div class="list">
    <div class="tablewrap">
      <table class="table" width="100%" id="datalist">
        <tr>
          <th style="vertical-align: middle;width: 20%"></th>
          <th style="vertical-align: middle;width: 20%">序号</th>
          <th style="vertical-aligntiddle"width: 20%>二级分类名称</th>
          <th>
            <a href="${pageContext.request.contextPath}/addUICategorySecond.do">
              <input type="button" name="" value="添加" class="btn btn-success"style="width: 111px">
            </a>
          </th>
        </tr>
        <c:forEach var="p" items="${lists}" varStatus="status">
          <tr>
            <th></th>
            <th>${status.count}</th>
            <th>${p.csname}</th>
            <th>
              <a href="${pageContext.request.contextPath}/editUICategorySecond.do?csid=${p.csid}">
                <input type="button" name="" value="修改" class="btn btn-primary">
              </a>
              <a href="${pageContext.request.contextPath}/deleteCategorySecond.do?csid=${p.csid}">
                <input type="button" name="" value="删除" class="btn btn-danger">
              </a>
            </th>
          </tr>
        </c:forEach>
        </tr>
      </table>
    </div>
  </div>
</div>

</div>
</body>
</html>
